/*
 * @Author: jiutian
 * @Date: 2023-02-01 15:50:27
 * @LastEditTime: 2023-02-01 16:32:39
 * @LastEditors:
 */
const fs = require("fs");
const path = require("path");
let exportModule = {};

let files = fs.readdirSync(path.resolve("./utils/module"));

files.forEach((item) => {
  exportModule = {
    ...exportModule,
    ...require(path.join(__dirname, "./module", item)),
  };
});

module.exports = exportModule;
